package ch.genidea.jsfcharts.highcharts;

import java.util.ArrayList;
import java.util.List;

public class ColumnChartSeries {
    private ArrayList<ColumnData> columnData = new ArrayList<>();

    public ColumnChartSeries() {
    }

    public void addColumn(String columnName, Number value) {
        ColumnData d = new ColumnData(columnName, value);
        columnData.add(d);
    }

    public void removeAll() {
        columnData = new ArrayList<>();
    }

    public List<ColumnData> getColumns() {
        return columnData;
    }
}
